package com.wys.study.serviceb.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


@Mapper
public interface AccountMapper {

    @Update("update account set money = money + #{money} where username = #{username}")
    int update(@Param("money") Integer money, @Param("username") String username);
}
